//
//  MTThreeBtnView.h
//  07-美团外卖
//
//  Created by Apple on 16/10/19.
//  Copyright © 2016年 itheima. All rights reserved.
//

#import "MTBaseControl.h"

@class MTThreeBtnView;

@protocol MTThreeBtnViewDelegate <NSObject>

@optional
- (void)threeBtnView:(MTThreeBtnView *)threV  withIndex:(NSInteger)selectIndex;


@end

@interface MTThreeBtnView : MTBaseControl

@property (nonatomic, weak) id<MTThreeBtnViewDelegate> delegate;


//1.接收首页滚动传过来的偏移
@property (nonatomic) CGFloat offsetX;


//自定义控件 监听的属性
@property (nonatomic) NSInteger selectedIndex;


@end
